<?php /* Smarty version Smarty-3.0.7, created on 2012-07-01 12:07:43
         compiled from "D:\wamp\www/template/templates\store/public.left.tpl" */ ?>
<?php /*%%SmartyHeaderCode:212834fefcd0f73e551-97472763%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '092bcb0987624070a4235abf310156860fa2cdbd' => 
    array (
      0 => 'D:\\wamp\\www/template/templates\\store/public.left.tpl',
      1 => 1339811234,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '212834fefcd0f73e551-97472763',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include 'D:\wamp\www\library\package\smarty\plugins\modifier.truncate.php';
?><div class="left_box " style="margin-top:10px">
    <div class="tit"><img src="/images/cp_l_ban.gif" alt=""></div>
    <div class="sub_box" style="margin-top:4px; margin-top:10px\9">	
        <h2><b></b>联系方式</h2>
        <div class="boxcontact">
            <span><?php echo $_smarty_tpl->getVariable('Account')->value['CompanyName'];?>
</span><br />
            <?php if ($_smarty_tpl->getVariable('Account')->value['IsVip']=="TRUE"){?>
                <img src="/images/vip_meb.gif" alt="" />
            <?php }else{ ?>
                <img src="/images/pro_btnmeb.gif" alt="" />
            <?php }?> 
            <br /><span>邮政编码：</span><?php echo $_smarty_tpl->getVariable('Account')->value['Postcode'];?>

            <br />
            <span>联系电话：</span><?php echo $_smarty_tpl->getVariable('Account')->value['Phone'];?>
<br />
            <span>公司传真：</span><?php echo $_smarty_tpl->getVariable('Account')->value['Fax'];?>
<br /><span>电子邮箱：</span><?php echo $_smarty_tpl->getVariable('Account')->value['Username'];?>

            <br>
            <span>公司地址：</span>
            <?php echo $_smarty_tpl->getVariable('Account')->value['Address'];?>

            <p><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $_smarty_tpl->getVariable('Account')->value['QQ'];?>
&site=qq&menu=yes">
                <img src="/images/pro_btn2.gif" alt="">
                </a>
            </p>
            </div>
    </div>
    <div class="sub_box" >
        <h2><b></b>产品分类</h2>
        <div class="boxcontact">
            <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Categories')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                <li>+
                    <a href="/exec.php?action=store_supply_list&classid=<?php echo $_smarty_tpl->getVariable('Row')->value['ClassID'];?>
"><?php echo $_smarty_tpl->getVariable('Row')->value['ClassID'];?>
</a>
                    <ul style="padding:0px; margin:0px; display:none;">
                        <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['name'] = 'Subclass';
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('Row')->value['Subclass']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['Subclass']['total']);
?>  
                        <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->getVariable('Row')->value['Subclass'][$_smarty_tpl->getVariable('smarty')->value['section']['Subclass']['index']]['SubclassID'];?>
</li>
                        <?php endfor; endif; ?>  
                    </ul>
                </li>
            <?php }} ?>
        </div>
    </div>
    <div class="sub_box" >
        <h2><b></b>资质证书<span><a href="/exec.php?action=store_licence_list">>> 更多</a></span></h2>
        <div class="boxcontact">
            <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Licences')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
            <ol><a href="<?php echo $_smarty_tpl->getVariable('Row')->value['PicturePath'];?>
" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['Name'],10,"..");?>
</a></ol>
            <?php }} ?>
        </div>
    </div>
</div>